home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / il / ilVkEstablishErrorHandler.z / ilVkEstablishErrorHandler
Encoding:
Text File  |  2002-10-03  |  2.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. iiiillllVVVVkkkkEEEEssssttttaaaabbbblllliiiisssshhhhEEEErrrrrrrroooorrrrHHHHaaaannnnddddlllleeeerrrr((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      iiiillllVVVVkkkkEEEEssssttttaaaabbbblllliiiisssshhhhEEEErrrrrrrroooorrrrHHHHaaaannnnddddlllleeeerrrr - seting up an IL error handler for ViewKit
  10.  
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      #include <il/ilVkError.h>
  14.  
  15.      void ilVkEstablishErrorHandler(int flags=0)
  16.  
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      This function calls iiiillllSSSSeeeettttEEEErrrrrrrroooorrrrHHHHaaaannnnddddlllleeeerrrr() to establish an error handler
  20.      that will post a dialog for any IL diagnostic messages generated by calls
  21.      to iiiillllEEEErrrrrrrroooorrrr().  The default behavior is to post message to _s_t_d_e_r_r.
  22.  
  23.      The type of dialog posted depends on the severity of the message:
  24.      VkInfoDialog for _M_M__I_N_F_O, VkWarningDialog for _M_M__W_A_R_N_I_N_G, VkErrorDialog
  25.      for _M_M__E_R_R_O_R and VkFatalErrorDialog for _M_M__H_A_L_T.
  26.  
  27.      Possible values for the _f_l_a_g_s parameter are any logical OR of the
  28.      following enumerants:
  29.  
  30.      _i_l_V_k_E_r_r_o_r_E_x_i_t_O_n_E_r_r_o_r    If set, then exit on errors; fatal errors will
  31.                              always exit.  By default the error handler will
  32.                              post the dialog and continue; when this flag is
  33.                              set the handler will post and wait for the dialog
  34.                              to be dismissed, then call eeeexxxxiiiitttt().
  35.  
  36.      _i_l_V_k_E_r_r_o_r_S_h_o_w_I_n_f_o       If set, then display informational messages; by
  37.                              default MM_INFO class messages will be ignored.
  38.  
  39.  
  40. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  41.      ilError(3), VkInfoDialog(3x), VkWarningDialog(3x), VkErrorDialog(3x),
  42.      VkFatalErrorDialog(3x)
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.